package discov

func NewDirectDiscover(conf Conf) (Discover, error) {
	return &DirectDiscover{
		conf: conf,
	}, nil
}

type DirectDiscover struct {
	conf Conf
}

func (d *DirectDiscover) Endpoint() (string, error) {
	return d.conf.Host, nil
}
